<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<li class="dropdown user user-menu">
	<!-- Menu Toggle Button -->
	<a href="#" class="dropdown-toggle" data-toggle="dropdown">
		<!-- The user image in the navbar-->
		<img src="${ctxStatic}/images/user2-160x160.jpg" class="user-image" alt="User Image">
		<!-- hidden-xs hides the username on small devices so only the image appears. -->
		<span class="hidden-xs">${fns:getUser().name}</span>
	</a>
	<ul class="dropdown-menu">
		<!-- The user image in the menu -->
		<li class="user-header">
			<img src="${ctxStatic}/images/user2-160x160.jpg" data-href="${ctx}/sys/user/info" class="img-circle" alt="User Image">

			<p>
				${fns:getUser().name}
				<small>Member since April. 2018</small>
			</p>
		</li>
		<!-- Menu Body -->
		<li class="user-body">
			<div class="row">
				<div class="col-xs-4 text-center">
					<a href="#">Followers</a>
				</div>
				<div class="col-xs-4 text-center">
					<a href="#">Sales</a>
				</div>
				<div class="col-xs-4 text-center">
					<a href="#">Friends</a>
				</div>
			</div>
			<!-- /.row -->
		</li>
		<!-- Menu Footer-->
		<li class="user-footer">
			<div class="pull-left">
				<a href="${ctx}/sys/user/modifyPwd" class="btn btn-default btn-flat">修改密码</a>
			</div>
			<div class="pull-right">
				<a href="${ctx}/logout" class="btn btn-default btn-flat">退出登录</a>
			</div>
		</li>
	</ul>

</li>